package com.song.service;

import com.song.pojo.PageResult;
import com.song.pojo.Student;
import com.song.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {

    PageResult<Student> getStudents(StudentQueryParam param);

     Integer addStudent(Student student);

    Integer deleteStudent(List<Integer> ids);

    Student getStudent(Integer id);

    Integer updateStudent(Student student);

    Integer handleStudentViolation(Integer id, Short score);
}
